#region Summary

// 
// Owner : JackieHan 
// 
// Solution : DailyCollection 
// 
// Project : Jackie.Utility.Notify.Services
// 
// File : IMessageSender.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 发送消息接口
// 
// History : 
//			2011-05-05 11:36:49	    Create 
// 

#endregion

#region Using

using System;
using Jackie.Utility.Notify.Domain;

#endregion

namespace Jackie.Utility.Notify.Services.Manager.Sender
{
    /// <summary> 
    /// 发送消息接口
    /// </summary>
    public interface IMessageSender
    {
        /// <summary>
        /// 发送消息
        /// </summary>
        /// <param name="info">需要发送的消息</param>
        void Send(MessageInfo info);

        /// <summary>
        /// 向指定客户端发送消息
        /// </summary>
        /// <param name="info">需要发送的消息</param>
        /// <param name="client">指定的客户端</param>
        void Send(MessageInfo info, ClientSubscribeInfo client);
    }
}